package com.fary.channels;

import com.fary.channels.spi.FarySelectorProvider;

import java.io.Closeable;
import java.io.IOException;

public abstract class FarySelector implements Closeable {

    protected FarySelector() { }

    public static FarySelector open() throws IOException {
        return FarySelectorProvider.provider().openSelector();
    }

    public void close() throws IOException {

    }

}